package com.gscitysfy.cus.drain.modules.pipe.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author admin
 * @since 2022-11-15 10:48:27
 */
@Getter
@Setter
@TableName("drain_pipe_network_report")
public class DrainPipeNetworkReport implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId
    private Long cmKid;

    /**
     * 关联文件id
     */
    private Long cmFileId;

    /**
     * 模板名称		模板名称		
     */
    private String cmReportName;

    /**
     * 添加时间		
     */
    private Date cmReportTime;

    /**
     * 添加人		
     */
    private String cmReportPeople;

    private String cmCreator;

    private String cmModifier;

    private String cmOrgflag;

    private Long cmRegflag;

    private String cmTenantid;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date cmAddtime;

    @TableField(fill = FieldFill.UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date cmUptime;

    private Integer cmVersion;

    private Integer cmUsable;

    /**
     * 经度
     */
    private String cmFlawLng;

    /**
     * 纬度
     */
    private String cmFlawLat;

    /**
     * 录像
     */
    private String cmFileVideoId;

    /**
     * 图片
     */
    private String cmFileImgId;

    /**
     * 关联管网id
     */
    private Long cmPipeId;


}
